package com.qy.service;

import com.qy.model.Evaluation;
import com.qy.model.Policy;
import com.qy.base.core.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.List;
import java.util.Map;


/**
 * Created by zaq on 2018/07/10.
 */
public interface PolicyService extends Service<Policy> {
    public List<Policy> selectAllPolicy(Policy policy);

    public List<Policy> selectPolicyById(Policy policy);

    public List<Map> managePolicyList(Policy policy);

    public Policy seePolicy(Integer id);

    public void deletePolicy(Policy policy);

    public void policyState(Policy policy);

    public List<Map> selectFirstPolicyListByEvaluation1(Evaluation evaluation);

    public List<Map> selectSecondPolicyListByEvaluation1(Evaluation evaluation);

    public List<Map> selectThirdPolicyListByEvaluation1(Evaluation evaluation);

    public List<Map> selectFourthPolicyListByEvaluation1(Evaluation evaluation);

    public List<Map> selectFirstPolicyListByEvaluation2(Evaluation evaluation);

    public List<Map> selectSecondPolicyListByEvaluation2(Evaluation evaluation);

    public List<Map> selectThirdPolicyListByEvaluation2(Evaluation evaluation);

    public List<Map> selectFourthPolicyListByEvaluation2(Evaluation evaluation);

    public List<Map> selectFirstPolicyListByEvaluation3(Evaluation evaluation);

    public List<Map> selectFirstPolicyListByEvaluation4(Evaluation evaluation);

    public List<Map> selectSecondPolicyListByEvaluation4(Evaluation evaluation);

    public List<Map> selectThirdPolicyListByEvaluation4(Evaluation evaluation);

    public List<Map> selectFourthPolicyListByEvaluation4(Evaluation evaluation);

    public List<Map> selectFirstPolicyListByEvaluation5(Evaluation evaluation);

    public List<Map> selectSecondPolicyListByEvaluation5(Evaluation evaluation);

    public List<Map> selectFirstPolicyListByEvaluation6(Evaluation evaluation);

    public List<Policy> selectPolicyByName(Policy policy);

    public List<Map<String, Object>> selectByClueId(Integer clue_id);
}
